package cn.lg.soar.flow.biz.service;

import cn.lg.soar.flow.api.model.node.ApprovalNode;
import cn.lg.soar.flow.biz.entity.SoarProcessVersion;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 节点审批人
 * @author luguoxiang
 * @since 2025-08-07
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface SoarProcessVersionService extends IService<SoarProcessVersion> {

    SoarProcessVersion getByProcInstId(String procInstId);

    Map<String, ApprovalNode> getNodeMap(String processDefinitionId);

    SoarProcessVersion getByCode(String flowCode);

}
